package com.yl.auth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author ln
 * @since 2023-06-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "表单组件")
public class Biaodan implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      @ApiModelProperty("主键id")
    private Long id;

    @ApiModelProperty("表单名称")
    private String name;

    @ApiModelProperty("创建人id")
    private Integer adminId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
    /**
     *
     */
    @TableField(exist = false)
    @ApiModelProperty("")
    private String aname;

    @TableField(exist = false)
    @ApiModelProperty("")
    private String hname;

}
